package com.ruoyi.boss.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.boss.mapper.UserRefundListMapper;
import com.ruoyi.boss.domain.UserRefundList;
import com.ruoyi.boss.service.IUserRefundListService;

/**
 * 个人用户退款列表-新增Service业务层处理
 * 
 * @author rui
 * @date 2025-08-18
 */
@Service
public class UserRefundListServiceImpl implements IUserRefundListService 
{
    @Autowired
    private UserRefundListMapper userRefundListMapper;

    /**
     * 查询个人用户退款列表-新增
     * 
     * @param refundId 个人用户退款列表-新增主键
     * @return 个人用户退款列表-新增
     */
    @Override
    public UserRefundList selectUserRefundListByRefundId(Long refundId)
    {
        return userRefundListMapper.selectUserRefundListByRefundId(refundId);
    }

    /**
     * 查询个人用户退款列表-新增列表
     * 
     * @param userRefundList 个人用户退款列表-新增
     * @return 个人用户退款列表-新增
     */
    @Override
    public List<UserRefundList> selectUserRefundListList(UserRefundList userRefundList)
    {
        return userRefundListMapper.selectUserRefundListList(userRefundList);
    }

    /**
     * 新增个人用户退款列表-新增
     * 
     * @param userRefundList 个人用户退款列表-新增
     * @return 结果
     */
    @Override
    public int insertUserRefundList(UserRefundList userRefundList)
    {
        return userRefundListMapper.insertUserRefundList(userRefundList);
    }

    /**
     * 修改个人用户退款列表-新增
     * 
     * @param userRefundList 个人用户退款列表-新增
     * @return 结果
     */
    @Override
    public int updateUserRefundList(UserRefundList userRefundList)
    {
        return userRefundListMapper.updateUserRefundList(userRefundList);
    }

    /**
     * 批量删除个人用户退款列表-新增
     * 
     * @param refundIds 需要删除的个人用户退款列表-新增主键
     * @return 结果
     */
    @Override
    public int deleteUserRefundListByRefundIds(Long[] refundIds)
    {
        return userRefundListMapper.deleteUserRefundListByRefundIds(refundIds);
    }

    /**
     * 删除个人用户退款列表-新增信息
     * 
     * @param refundId 个人用户退款列表-新增主键
     * @return 结果
     */
    @Override
    public int deleteUserRefundListByRefundId(Long refundId)
    {
        return userRefundListMapper.deleteUserRefundListByRefundId(refundId);
    }
}
